package com.ljx.funchat.chat.domain.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class FileMsgReq {

    @ApiModelProperty("文件名称")
    @NotEmpty
    private String filename;

    @ApiModelProperty("文件下载URL")
    @NotEmpty
    private String url;

    @ApiModelProperty("文件大小")
    @NotNull
    private Long size;

    @ApiModelProperty("文件类型")
    @NotBlank
    private String fileType;


}
